#import "KeyholeQuakeCell.h"


@implementation KeyholeQuakeCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setEuphoriaVirtuousKeepsake:(KeyholeQuakeModel *)euphoriaVirtuousKeepsake {
	_euphoriaVirtuousKeepsake = euphoriaVirtuousKeepsake;

	//: 配置cell的UI

[self.invincibleXenonImageView sd_setImageWithURL:[NSURL URLWithString:euphoriaVirtuousKeepsake.nirvana.stringValue] placeholderImage:nil];

}
//: self.radianceKingdomButton 的点击事件
- (void)action_0 {}

//: nightfallCactus 的点击事件
- (void)action_2 {}

- (void)plumeYardJoyousSubViews {

    //: 描述_0
    self.radianceKingdomButton = [UIButton new];
    self.radianceKingdomButton.frame = CGRectMake(38, 16, 183, 90);
    UIImage *flourish = [UIImage imageNamed:@"images/icon_0.png"];
    if (flourish) {
	    [self.radianceKingdomButton setImage:flourish forState:UIControlStateNormal];
    }
    [self.radianceKingdomButton setTitle:@"button_0" forState:UIControlStateNormal];
    [self.radianceKingdomButton setTitle:@"button_selected_0" forState:UIControlStateSelected];
    [self.radianceKingdomButton setTitleColor:[UIColor colorWithRed:129/255.0 green:242/255.0 blue:79/255.0 alpha:0.5] forState:UIControlStateNormal];
    [self.radianceKingdomButton setTitleColor:[UIColor colorWithRed:126/255.0 green:64/255.0 blue:155/255.0 alpha:0.5] forState:UIControlStateSelected];
    [self.radianceKingdomButton addTarget:self action:@selector(action_0) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.radianceKingdomButton];


    //: 描述_1
    UIImageView *mergeXenialBalloon = [UIImageView new];
    mergeXenialBalloon.contentMode = UIViewContentModeScaleAspectFill;
    mergeXenialBalloon.clipsToBounds = YES;
    mergeXenialBalloon.layer.cornerRadius = 4;
    mergeXenialBalloon.layer.masksToBounds = YES;
    UIImage *nirvana = [UIImage imageNamed:@"images/image_1.png"];
    if (nirvana) {
	    mergeXenialBalloon.image = nirvana;
    }
    self.invincibleXenonImageView = mergeXenialBalloon;
    [self.contentView addSubview:mergeXenialBalloon];
	[self.invincibleXenonImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(32);
		make.height.mas_equalTo(180);
		make.top.equalTo(@(24));
		make.bottom.equalTo(@(23));
	}];


    //: 描述_2
    UIButton *nightfallCactus = [[UIButton alloc] init];
    UIImage *glisten = [UIImage imageNamed:@"images/icon_2.png"];
    if (glisten) {
	    [nightfallCactus setImage:glisten forState:UIControlStateNormal];
    }
    [nightfallCactus setTitle:@"button_2" forState:UIControlStateNormal];
    [nightfallCactus setTitle:@"button_selected_2" forState:UIControlStateSelected];
    [nightfallCactus setTitleColor:[UIColor colorWithRed:241/255.0 green:92/255.0 blue:141/255.0 alpha:0.5] forState:UIControlStateNormal];
    [nightfallCactus setTitleColor:[UIColor colorWithRed:238/255.0 green:108/255.0 blue:154/255.0 alpha:0.5] forState:UIControlStateSelected];
    [nightfallCactus addTarget:self action:@selector(action_2) forControlEvents:UIControlEventTouchUpInside];
    self.unityLaughterWonderBtn = nightfallCactus;
    [self.contentView addSubview:nightfallCactus];
	[self.unityLaughterWonderBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(151);
		make.height.mas_equalTo(52);
		make.bottom.equalTo(@(22));
	}];


    //: 描述_3
    self.mergeVowJoyousView = [[UIView alloc] initWithFrame:CGRectZero];
    [self.contentView addSubview:self.mergeVowJoyousView];
	[self.mergeVowJoyousView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(102);
		make.height.mas_equalTo(134);
		make.top.equalTo(@(10));
		make.bottom.equalTo(@(14));
	}];


    //: 描述_4
    UITextField *dreamscapeThriveMarble = [UITextField new];
    self.leapfrogResonateHorizonTextField = dreamscapeThriveMarble;
    [self.contentView addSubview:dreamscapeThriveMarble];
	[self.leapfrogResonateHorizonTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(90);
		make.height.mas_equalTo(64);
		make.top.equalTo(@(26));
	}];
}


@end